<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta http-equiv="content-type" content="text/html; charset=windows-1251" />
    <title>RoadCompanion</title>
    <link href='http://fonts.googleapis.com/css?family=Abel' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" type="text/css" href="/styles/css/style.css" media="all">
    <link rel="stylesheet" type="text/css" href="/styles/css/mystyle.css" media="all">
	<link rel="stylesheet" type="text/css" href="/styles/css/maphud.css" media="all" />
    <script type="text/javascript"
      src="http://maps.googleapis.com/maps/api/js?key=AIzaSyCTY0WXPM2bn7_NiW6FdavqMrNj-FkbKtk&sensor=false">
    </script>
</head>
<body>
<div id="wrapper">
    <div id="header-wrapper" class="container">
        <div id="header" class="container">
            <div id="logo">
                <h1><a href="#">RoadCompanion </a></h1>
            </div>
            <div id="menu">
                <ul>
                    <li><a href="home.htm">Главная</a></li>
                    <li><a href="profile.htm">Профиль</a></li>
                    <li><a href="enter.htm">Войти</a></li>

                </ul>
            </div>
        </div>
        <div><img src="img/img03.png" width="1000" height="40" alt="" /></div>
    </div>
    <!-- end #header -->
    <div id="page">
        <div id="content">
            <%
                String content = request.getParameter("fromInclude");
                if(content == null){
                    content = "home";
                }
                String path = "/WEB-INF/jsp/pages/";
                String location = path+content+".jsp";
            %>
            <jsp:include page="<%=location%>" flush="true"/>

            <div style="clear: both;">&nbsp;</div>
        </div>
        <!-- end #content -->
        <div id="sidebar">
        </div>
        <!-- end #sidebar -->
        <div style="clear: both;">&nbsp;</div>
    </div>
    <div class="container"><img src="img/img03.png" width="1000" height="40" alt="" /></div>
    <!-- end #page -->
</div>
<div id="footer-content"></div>
<div id="footer">
    <p>2013 RoadCompanion </p>
</div>
<!-- end #footer -->
</body>
</html>
